#define RECODE4_NMIX 20

static float recode4_coeffs[RECODE4_NMIX] = {
    0.383048,
    0.174635,
    0.0852555,
    0.0594628,
    0.0406419,
    0.0398597,
    0.0297682,
    0.0280806,
    0.0242095,
    0.019244,
    0.0178775,
    0.0174343,
    0.0168758,
    0.0139663,
    0.0123711,
    0.0123012,
    0.0111316,
    0.00698083,
    0.00365577,
    0.00320122
};

static float recode4_alphas[RECODE4_NMIX][ALPHABET_SIZE + 1] = {
    { 4.04735, 0.335796, 0.0276254, 0.270793, 0.348046, 0.0863198,
      0.225768, 0.115656, 0.120617, 0.395388, 0.21713, 0.0692591,
      0.22952, 0.159096, 0.25475, 0.307135, 0.275135, 0.265742,
      0.182309, 0.043852, 0.117411 },

    { 3.5659, 0.273194, 0.0647217, 0.0365618, 0.0448084, 0.266448,
      0.0796421, 0.039374, 0.522913, 0.0461325, 0.864337, 0.183843,
      0.0445531, 0.0609869, 0.050193, 0.0545329, 0.0736139, 0.136326,
      0.533931, 0.057054, 0.132732 },

    { 0.803228, 0.05911, 0.0127852, 0.0785758, 0.0363021, 0.0289509,
      0.160842, 0.0281857, 0.0130422, 0.0203385, 0.0267507, 0.00397971,
      0.0430017, 0.0689402, 0.0127304, 0.026, 0.0605953, 0.0423799,
      0.0340264, 0.0125806, 0.0341105 },

    { 9.08397, 2.29698, 0.265451, 0.155901, 0.171394, 0.3867,
      0.869853, 0.102854, 0.514941, 0.0695931, 0.759599, 0.234631,
      0.14661, 0.177732, 0.127139, 0.135953, 0.74977, 0.457832,
      1.05026, 0.0986083, 0.312162 },

    { 53.6176, 3.26115, 0.745759, 3.18917, 2.67227, 4.15961,
      4.55029, 3.01435, 2.39119, 0.70697, 4.38827, 1.29158,
      3.68427, 1.80724, 1.47, 1.6602, 3.67109, 2.30334,
      2.75308, 2.05938, 3.8384 },

    { 105.708, 12.1186, 0.472681, 3.87403, 6.5048, 3.46117,
      2.97363, 1.67069, 8.55045, 9.64583, 13.6136, 3.75321,
      2.19455, 1.68259, 4.18394, 10.7077, 2.96826, 3.09571,
      8.1825, 1.72721, 4.32637 },

    { 76.7013, 10.2085, 1.7407, 2.52751, 1.66695, 4.64628,
      2.93189, 2.32366, 7.7074, 1.63543, 12.4467, 3.3191,
      2.36645, 0.915427, 2.74109, 1.49944, 2.30864, 3.94574,
      7.72884, 0.865209, 3.17628 },

    { 34.3245, 1.69321, 0.561402, 0.242201, 0.163758, 1.3284,
      0.426017, 0.217733, 9.19979, 0.365122, 3.00267, 0.470859,
      0.200578, 0.454379, 0.166355, 0.285794, 0.566137, 1.17851,
      12.8947, 0.182001, 0.724889 },

    { 13.549, 0.699016, 0.123918, 0.564493, 0.441809, 0.265585,
      0.455207, 0.157372, 0.45222, 0.315356, 0.285096, 0.11236,
      0.700959, 0.384523, 0.341402, 0.19505, 3.04705, 3.86283,
      0.771455, 0.0747102, 0.298617 },

    { 27.5029, 2.69506, 0.0984665, 0.999399, 0.702161, 0.18828,
      14.7923, 0.204418, 0.341519, 0.895261, 0.604879, 0.264405,
      1.20003, 0.526937, 0.485106, 0.528848, 1.54988, 0.759294,
      0.220308, 0.11594, 0.330426 },

    { 40.1814, 3.07208, 0.179581, 1.59068, 1.1802, 1.04447,
      1.82765, 0.299515, 1.5785, 2.07133, 2.48759, 0.1886,
      1.17791, 13.8668, 0.831189, 1.07904, 2.36316, 1.88465,
      2.35323, 0.274462, 0.83075 },

    { 17.5374, 1.41269, 0.00565739, 3.37209, 5.65739, 0.244139,
      0.61415, 0.121496, 0.154197, 0.767153, 0.494589, 0.155884,
      0.280603, 0.263088, 1.48884, 0.353594, 1.00131, 0.538288,
      0.33596, 0.0728146, 0.20351 },

    { 86.0527, 3.33374, 1.15604, 1.93175, 1.30643, 4.97546,
      21.2633, 2.00541, 9.73505, 1.95251, 5.17488, 3.25167,
      2.10234, 3.3081, 1.36967, 2.43658, 2.02859, 5.17926,
      7.52289, 1.61701, 4.402 },

    { 58.4428, 2.53998, 0.64182, 6.22299, 1.7898, 1.14222,
      9.70006, 1.57777, 0.358056, 2.07334, 1.25521, 0.410731,
      11.0338, 3.16446, 1.38371, 1.5993, 9.83971, 1.71336,
      0.41867, 0.428225, 1.14954 },

    { 157.364, 25.0469, 0.0287555, 14.1297, 23.3767, 0.557453,
      5.28742, 2.81354, 1.20677, 28.7555, 4.133, 0.151853,
      6.64437, 2.01447, 14.4893, 12.8818, 10.9112, 3.32116,
      1.0243, 0.0487539, 0.54082 },

    { 37.4997, 1.50426, 0.106938, 15.2516, 2.40265, 0.329304,
      1.80122, 0.505069, 0.674739, 1.40725, 0.728632, 0.237147,
      5.72791, 0.73936, 0.725283, 0.628562, 2.17878, 1.44031,
      0.811792, 0.0152516, 0.283625 },

    { 17.3228, 0.485358, 0.120765, 0.132386, 0.22325, 2.74084,
      0.290926, 0.536354, 0.448205, 0.240466, 0.81734, 0.216503,
      0.223577, 0.141958, 0.247041, 0.367824, 0.470015, 0.441281,
      0.803322, 0.635744, 7.73963 },

    { 16.9772, 0.422519, 0.162589, 0.063178, 0.232174, 8.8294,
      0.198806, 0.135336, 0.589954, 0.127259, 1.13028, 0.213526,
      0.0760594, 0.140012, 0.15649, 0.0125594, 0.33088, 0.331744,
      0.624835, 0.909754, 2.28988 },

    { 20.8417, 0.350372, 0.113692, 0.0720512, 0.210516, 1.2529,
      0.258305, 0.13086, 0.43595, 0.15333, 1.31274, 0.32149,
      0.0944224, 0.0966389, 0.0963917, 0.356382, 0.206486, 0.167836,
      0.582403, 13.55, 1.07893 },

    { 29.9957, 0.161616, 28.1472, 0.0281472, 0.0281472, 0.26712,
      0.0281472, 0.0281472, 0.220459, 0.0281472, 0.0527309, 0.0281472,
      0.0440255, 0.0281472, 0.0281472, 0.0281472, 0.152965, 0.0886627,
      0.456531, 0.0947103, 0.0563106 }
};

/*
static char* recode4_names[RECODE4_NMIX] = {
    "K Q R E N H D T S P >< A Y G M W L V F , I C",
    "L I M , V F C W >< Y A T , H P Q S R G N , K E D",
    "G P , D H S N Y C W >< T F A E R V , K Q L I , M",
    "A , C V S G M F >< I L T Y W P , H N Q E R D , K",
    "H W , Y F N S G D M >< C L E P T Q I A R V ,, K",
    "R , K M L I A E Y Q W >< V F H D T , N S P G C",
    "M L I C A F H V Y >< Q T N W D G S , R K E P",
    "V I ,, C >< L F T M A Y , P W H S , K R G N Q D , E",
    "T , S , N >< D P V Q C A E Y I H , F G K M W R , L",
    "G ,, A N >< S D K , P T Q E R M H Y W , C L I F , V",
    "P ,,,>< S K A T V D N L I F G R Q Y E , W H C , M",
    "E , D Q ,>< S A K T , G R P M N F L H Y W , V I ,,, C",
    "G , I M F Y W V T H >< P C L R N , A Q K D S E",
    "N , S G , D P H >< C K Q R E T Y , A W F M , L , I V",
    "K E Q , R A D S >< N H , G T P L ,, I Y F V , M , W , C",
    "D , N , E >< S K T G H Q P , A R I V M , L F Y C ,,, W",
    "Y ,, F W , H >< V M L , C R S T I Q A N K , E G P D",
    "F ,, Y W ,>< L C I M , V H T S A , Q E P G K , N D ,, R",
    "W ,,,,, F Y >< L M , R C V I H , A E G S T K , Q P N , D",
    "C ,,,,,><,, F W V , I S , A T Y H M N , Q P R L K D E , G"
};
*/
